<?php 
class gallery_colmod{
    protected $colMod;
    function gallery_colmod()
    {
        $this->colMod=array(
            array(  
                "text"          =>"ID"            
                ,"datafield"    =>"_id" 
                ,"cellsalign"   =>"right"
                ,"width"        => 80    
                ),
            array(  
                "text"          =>"Album Name"            
                ,"datafield"    =>"_name" 
                //,"width"        => 220
                ,"editable"     =>true
                ),
            array(  
                "text"          =>"Alias"            
                ,"datafield"    =>"_alias" 
                ,"width"        => 220
                ,"editable"     =>false
                ),
            array(  
                "text"          =>"Amount"            
                ,"datafield"    =>"_amount" 
                ,"width"        => 100   
                ,"editable"     =>false
                ,"filterable"   =>false
                ),
            array(  
                "text"          =>"Public"            
                ,"datafield"    =>"_status" 
                ,"type"         =>"bool"
                ,"width"        => 100   
                ,"columntype"   =>"checkbox"
                ,"threestatecheckbox"=> false
                ,"filtertype"   =>"bool"  
                ,"editable"     =>true
                ,"filterable"   =>false
                ),
            array(  
                "text"          =>"Insert"            
                ,"datafield"    =>"_insert" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                //,"hidden"       =>true
                ),
            array(  
                "text"          =>"Update"            
                ,"datafield"    =>"_update" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                
                ),
            array(  
                "text"          =>"Delete"            
                ,"datafield"    =>"_delete" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                ,"hidden"       =>true
                )
        );
    }
    function get(){
        return $this->colMod;
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */